import request from '@/plugins/request';

// 投流消费列表
export function accountsConsumeList(data) {
    return request({
      url: "/v1/buss/accounts-consume/index",
      method: "get",
      params: data,
    });
}
//新增投流消费记录
export function accountsConsumeCreate(data) {
    return request({
        url: "/v1/buss/accounts-consume/create",
        method: "post",
        data,
    });
}
//编辑投流消费记录
export function accountsConsumeUpdate(data) {
    return request({
        url: "/v1/buss/accounts-consume/update",
        method: "post",
        data,
    });
}
//编辑投流消费记录数据
export function accountsConsumeDataUpdate(data) {
    return request({
        url: "/v1/buss/accounts-consume/update-data",
        method: "post",
        data,
    });
}
//删除消费
export function accountsConsumeDel(data) {
    return request({
        url: "/v1/buss/accounts-consume/delete",
        method: "post",
        data,
    });
}